package com.agmte.api.annotation;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@ComponentScan("com.agmte.api")
@MapperScan(basePackages = "com.agmte.api",
        sqlSessionFactoryRef = "sqlSessionFactory",
        annotationClass = Mapper.class
)
public @interface StartApi {
}
